package com.tulele.vtool.mapper;

import com.tulele.vtool.model.logEntity.ArticleLookDetailLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Component(value = "keywordDetailLogMapper")
public interface ArticleLookDetailLogMapper {

    int addArticleLookDetailLog(ArticleLookDetailLog articleLookDetailLog);

    ArticleLookDetailLog getArticleLookDetailLog(@Param("articleLookDetailLogId") Integer articleLookDetailLogId);

    ArticleLookDetailLog getLookTime(ArticleLookDetailLog articleLookDetailLog);

    int updateArticleLookDetailLog(ArticleLookDetailLog articleLookDetailLog);

    List<ArticleLookDetailLog> queryArticleLookDetailLog(@Param("articleId") Integer articleId,
                                                         @Param("gzhCode") String gzhCode,
                                                         @Param("lookArticleLogId") Integer lookArticleLogId
                                                         );

}
